---
root: "/v5.1"
keywords: ""
layout: "default"
description: "Swift documentation for 'MirrorPath'"
title: "MirrorPath"
---

<div class="intro-declaration"><code class="language-swift">protocol MirrorPath</code></div><p>A protocol for legitimate arguments to <code>Mirror</code>'s <code>descendant</code>
method.</p>
<div class="discussion comment"><p>Do not declare new conformances to this protocol; they will not
work as expected.</p>
</div>